ip anycast-gateway one-ip {A.B.C.D/X}

Configures the interface as a One IP interface, which means the gateway IP is the same as the VLAN IP.

Syntax

Command Parameters

<0-511>
Specifies a number by which to offset the MAC address from the chassis MAC address. This ensures that each IP address has a different MAC address. If you omit this variable, a unique MAC offset is automatically generated.
{A.B.C.D/X}

Specifies the IPv4 address and subnet mask. The gateway IP must be in different subnets for different interfaces, and must be the same on different routers for the same associated Layer 2 VSNs.

gw-ipv4
Removes the gateway IP from the interface.
vrid <1-255>

Specifies the virtual router ID, which defines the gateway MAC as a VRRP MAC. The gateway MAC must be the same on different routers for the same associated Layer 2 VSN.

If you do not specify the VRID as part of the command, the default value is VRID 39 (hexadecimal 27), which translates to the MAC of 00:00:5e:00:01:27.

Default

None

Command Mode

VLAN Interface Configuration